package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.PromotionGift;
import com.jsh.erp.datasource.entities.PromotionGiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionGiftMapper {
    long countByExample(PromotionGiftExample example);

    int deleteByExample(PromotionGiftExample example);

    int deleteByPrimaryKey(String id);

    int insert(PromotionGift record);

    int insertSelective(PromotionGift record);

    List<PromotionGift> selectByExample(PromotionGiftExample example);

    PromotionGift selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PromotionGift record, @Param("example") PromotionGiftExample example);

    int updateByExample(@Param("record") PromotionGift record, @Param("example") PromotionGiftExample example);

    int updateByPrimaryKeySelective(PromotionGift record);

    int updateByPrimaryKey(PromotionGift record);
}